package com.adams.dcxt.core;

public class DishesTemp {

    private Long dishesId;
    private String name;
    private String price;
    private String count;

    public Long getDishesId() {
        return dishesId;
    }

    public void setDishesId(Long dishesId) {
        this.dishesId = dishesId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((dishesId == null) ? 0 : dishesId.hashCode());
        return result;
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        DishesTemp other = (DishesTemp) obj;
        if (dishesId == null) {
            if (other.dishesId != null)
                return false;
        } else if (!dishesId.equals(other.dishesId))
            return false;
        return true;
    }

}
